package com.cardetective.shopcar.network.model

data class ShopCarInfoModel(
    val code: Int?,
    val orderData: List<CarStoreData>
)

data class CarStoreData(
    val cartlist: List<CarGoodsData>,
    val shopId: Int,
    val shopName: String,
    var isChecked: Boolean //店铺是否选中

)

data class CarGoodsData(
    val color: String?,
    var count: Int,
    val defaultPic: String?,
    val id: Int?,
    val price: Int,
    val productId: Int?,
    val productName: String?,
    val shopId: Int?,
    val shopName: String?,
    val size: String?,
    var isChecked: Boolean //商品是否选中
)

// 请求：添加购物车
data class AddCarPost (
    var cartType:String?,
    var num:Int?,
    var skuId:String?
)


